﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Data.Entity;

using Winz.FoeBot.DataLayer;

namespace Winz.FoeBot
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            AppDomain.CurrentDomain.SetData("DataDirectory",
                Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData));

/*            Database.SetInitializer<FoeContext>(
                new MigrateDatabaseToLatestVersion<FoeContext, Migrations.Configuration>());
 
*/
            
                Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}
